<h1>Listing fixtures</h1>

<cftable query="fixtures" colHeaders="true" HTMLTable="true">
				
	<cfcol header="Fixtureid" text="#fixtureid#" />

	<cfcol header="Seasonid" text="#seasonid#" />

	<cfcol header="Roundno" text="#roundno#" />
	
	<cfcol header="RoundDate" text="#roundDate#" />

	<cfcol header="Hometeamid" text="#hometeamid#" />
	
	<cfcol header="HometeamName" text="#hometeamname#" />

	<cfcol header="Awayteamid" text="#awayteamid#" />
	
	<cfcol header="AwayteamName" text="#awayteamname#" />

	<cfcol header="Created" text="#created#" />
			
		
	<cfcol header="" text="#linkTo(text='Show', action='show', key=fixtureid)#" />
	<cfcol header="" text="#linkTo(text='Edit', action='edit', key=fixtureid)#" />
	<cfcol header="" text="#linkTo(text='Delete', action='delete', key=fixtureid, confirm='Are you sure?')#" />
</cftable>

<cfoutput>
	<p>#linkTo(text="New fixture", action="new")#</p>
</cfoutput>
